{% extends "base_language.html" %}
{% block extrahead %}
    {{ block.super }}
{% endblock %}

{% block breadcrumbsextra %}<a href="{% url list_languages %}">Language Control Panel</a>&nbsp;&rsaquo;&nbsp; {{ language_name }}{% endblock %}

{% block heading %}
    for {{ language_name }}
{% endblock %}
{% block innercontent %}
    <table cellspacing="0" style="margin-top: 20px;" width="100%">
        <thead>
            <tr>
                <th></th>
                <th>Line number</th>
                <th>English</th>
                <th>{{ language_name }}</th>
                <th>Section</th>
            </tr>
        </thead>
        {% for code in codes %}
            <tr class="{% cycle 'row1' 'row2' %}">
                <td><a name="{{ code.line_number }}">&nbsp;</a></td>
                <td><a href="{% url edit_language language_code code.line_number %}">{{ code.line_number }}</a></td>
                <td>{{ code.msgid }}</td>
                <td>{{ code.msgstr }}</td>
                <td><ul>
                    {% for section in code.section_list %}<li>{{ section.filename }} - {{ section.line_number }}{% endfor %}</li>
                <ul></td>
            </tr>
        {% endfor %}
    </table>
{% endblock %}